package dame;

public class Test {
    public static void main2(String[] args) {
        MyLinkedList list = new MyLinkedList();
        list.addFirst(1);
        list.addFirst(2);
        list.addFirst(3);
        list.addFirst(4);
        list.addFirst(5);
        list.addFirst(6);
        list.addLast(9);
        list.display();
    }
    public static void main(String[] args) {
        SingleList list = new SingleList();
        list.addLast(10);
        list.addLast(11);
        list.addLast(12);
        list.addLast(13);
        list.addLast(14);
        list.addLast(15);
       //list.display();
        //list.addIndex(3,100);
        //System.out.println(list.size());
        //list.addIndex(4,100);
        list.display();

    }
}
